﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Web.UI.DataVisualization.Charting;

namespace LDSP.BRL
{
    public class ReportInfo
    {
        private SeriesChartType m_chartType = SeriesChartType.Column;
        public DataTable DataSource
        {
            get;
            set;
        }

        public string XName
        {
            get;
            set;
        }

        public string YName
        {
            get;
            set;
        }

        public string Title
        {
            get;
            set;
        }

        /// <summary>
        /// 如果这个字段有值，报表chart的高度会变化
        /// </summary>
        public int Records
        {
            get;
            set;
        }

        public SeriesChartType ChartType
        {
            get { return m_chartType; }
            set { m_chartType = value; }
        }
    }
}